<?php

/**
 * @Author: 李红雨 - RainLee <rainlee1990@yeah.net>
 * @Date: 2022-04-21 16:17:27
 * @LastEditors: 李红雨 - RainLee <rainlee1990@yeah.net>
 * @LastEditTime: 2022-04-24 00:10:14
 * @Description: 工厂类
 */

namespace rainlee\authn\facade;

use rainlee\authn\AuthnManager;
use think\Facade;

/**
 * @see \rainlee\authn\AuthnManager
 * @package think\facade
 * @mixin \rainlee\authn\AuthnManager
 * @method static \rainlee\authn\guard\SessionGuard|\rainlee\authn\guard\JwtGuard guard(null|string $name = null) 指定看守器
 * @method static bool attempt() 尝试登录
 */
class Authn extends Facade
{
    /**
     * 获取当前Facade对应类名（或者已经绑定的容器对象标识）
     * @access protected
     * @return string
     */
    protected static function getFacadeClass()
    {
        return AuthnManager::class;
    }
}
